<template>
<div id="home" style="width: 100%;text-align: left;"></div>
</template>

<script>
import marked from 'marked';

export default {
  name: 'home',
  data() {
    return {

    }
  },
  created() {
    this.getMarkDown();
  },
  methods: {
    getMarkDown: function () {
      this.axios.get('/home.md').then(function (rep) {
        document.getElementById('home').innerHTML = marked(rep.data);
      })
    }
  }
}
</script>

<style scoped>
#home {}
</style>
